# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class AuthConfig(object):

    def __init__(self, authEnabled=None, username=None, password=None):
        """
        :param authEnabled: (Optional) 是否开启身份验证；true为开启，false为不开启
        :param username: (Optional) 用户名. 不可为空，支持数字、大小写字母、英文下划线“_”及中划线“-”，且不超过32字符
        :param password: (Optional) 密码. 需6到128位，包括大小写字母、数字、和特殊字符（[a-z],[A-Z],[0-9]和[-!@#$%&^*+=_:;,.?]）
        """

        self.authEnabled = authEnabled
        self.username = username
        self.password = password
